<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
   /* var run = function(fromWhom){
        arguments[0] = 'alien';
        alert(fromWhom);
    }
    run('zombie');
    var run = function(fromWhom){
        "use strict";
        arguments[0] = 'alien';
        alert(fromWhom);
    }
    run('zombie');*/
   /*Array.prototype.method=function(){
       console.log(this.length);
   }
   var myArray=[1,2,4,5,6,7]
   myArray.name="数组"
   for (var index in myArray) {
       console.log(myArray[index]);
   }*/

   Array.prototype.method=function(){
       console.log(this.length);
   }
   var myArray=[1,2,4,5,6,7]
   myArray.name="数组";
   for (var value of myArray) {
       console.log(value);
   }
</script>
</body>
</html>